package com.briup.srms.sms.dao;

import java.util.List;

import com.briup.srms.sms.bean.Student;
import com.briup.srms.sms.bean.StudentExample;
import org.apache.ibatis.annotations.Param;
/**
 * @Description: TODO
 * @Author: GX Cui
 * @Date 09:29 2024/7/5
 */
public interface StudentMapper {
    long countByExample(StudentExample example);

    int deleteByExample(StudentExample example);

    int deleteByPrimaryKey(Long id);

    int insert(Student record);

    int insertSelective(Student record);

    List<Student> selectByExample(StudentExample example);

    Student selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") Student record, @Param("example") StudentExample example);

    int updateByExample(@Param("record") Student record, @Param("example") StudentExample example);

    int updateByPrimaryKeySelective(Student record);

    int updateByPrimaryKey(Student record);
}